package com.touni.designpattern.commandpattern;

/**
 * @ClassName : BuyOrder
 * @Description :
 * @Author : lwq
 * @Date: 2020-11-21 09:49
 */
public class BuyOrder implements Order {
    private Request request;

    public BuyOrder(Request request){
        this.request = request;
    }
    @Override
    public void execute() {
        request.buyReq();
    }
}
